

// eslint-disable-next-line react/prop-types
export default function PropsChildA({paramsList}){

    // eslint-disable-next-line react/prop-types
   const listItems=paramsList.map(item=><li style={{listStyleType:'none'}} key={item.id} >{item.name}</li>)

    return (
        <div>
            <h1>Props实例</h1>
            <ul>
               {listItems}
            </ul>
        </div>
    )
}